import { http } from '@/utils/http'

const baseUri = '/hall/sysUserWorklog'

export default {
  // 新增工作汇报
  addWork: (data) => http.post(`${baseUri}/selfAdd`, data),
  // 工作汇报列表
  getWorkList: (params) => http.get(`${baseUri}/selfPage`, params),
  // 工作汇报详情
  getWorkDetail: (params) => http.get(`${baseUri}/queryById`, params),

  // 工作日志列表
  getWorkLogList: (params) => http.get(`${baseUri}/list`, params),
  // 工作日志详情
  getWorkLogDetail: (params) => http.get(`${baseUri}/queryById`, params),
}
